home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / iso9660 / mail / pine / c_client.arc / text0014.txt < prev    next >
Encoding:
Text File  |  1993-07-31  |  975 b   |  19 lines

  1. On Tue, 1 Sep 1992 14:14:05 +0300 (IDT), Laurence Lundblade wrote:
  2. >   I'm looking for a way to tell the c-client what address to use
  3. > when qualifying domainless addresses. Right now it use the result
  4. > of gethostbyname (the /etc/hosts, YP and DNS lookup). This
  5. > results in an address with a hostname in it, where it might be
  6. > better not to have one. Also, one can't always control what the
  7. > hostname is set too. I realize that it would be best to have the
  8. > addresses in the mail files fully qualified, but that isn't
  9. > possible in this case.
  10. >   Could either an argument be added to mail_open, or a
  11. > mail_setdomain() call be added to set the domain name so the
  12. > calling program could control this? Then for example in Pine,
  13. > all the domain names would be consistent.
  14.  
  15. The very latest c-client (not yet publicly released) makes this available via
  16. a global char* variable called lhostn which the main program can set.  If it
  17. does not, c-client defaults it as before.
  18.  
  19.